/**
 * 
 */
package com.fitso.model.util.common;

/**
 * @author fatjs
 * 
 */
public class StringUtils extends org.apache.commons.lang.StringUtils {
	/**
	 * Null safe to string. Used to prevent {@link NullPointerException} when
	 * trying to call toString() on null objects.
	 * 
	 * @param obj
	 * @return
	 */
	public static String toString(Object obj) {
		if (obj == null) {
			return null;
		}
		return obj.toString();
	}
}
